﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Day;

namespace Benefit.Interface.Day
{
    public interface IYieldInHoldTime
    {
        /// <summary>
        /// 删除持仓时间收益情况
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        void DeleteYieldHoldTime(int tradeHistoryId);
        /// <summary>
        /// 获取一个账号的持仓收益率情况
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="accountid"></param>
        /// <returns></returns>
        List<YieldInHoldTime> GetYieldInHoldTime(int tradeHistoryId, int accountid);
    }
}
